package com.lzhsite.technology.designPattern.decorate.AOPDemo;

public class SaleModel
{
    private String goods;
    private int saleNum;

    public String getGoods()
    {
        return goods;
    }

    public void setGoods(String goods)
    {
        this.goods = goods;
    }

    public int getSaleNum()
    {
        return saleNum;
    }

    public void setSaleNum(int saleNum)
    {
        this.saleNum = saleNum;
    }

    public String toString()
    {
        return "商品名称：" + goods + "，购买数量 = " + saleNum;
    }
}
